package com.uni.dao;

import com.uni.pojo.RolePerms;
import com.uni.pojo.RolePermsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface RolePermsMapper {
    long countByExample(RolePermsExample example);

    int deleteByExample(RolePermsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(RolePerms record);

    int insertSelective(RolePerms record);

    List<RolePerms> selectByExample(RolePermsExample example);

    RolePerms selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") RolePerms record, @Param("example") RolePermsExample example);

    int updateByExample(@Param("record") RolePerms record, @Param("example") RolePermsExample example);

    int updateByPrimaryKeySelective(RolePerms record);

    int updateByPrimaryKey(RolePerms record);

    int deleteSelective(RolePerms rolePerms);
}